// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from "vue";
import App from "./App";
import router from "./router";
import store from "./vuex/strore";
//引入element ui
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
// 引入icon
import "./assets/icon/iconfont.css";
//引入echarts
import * as echarts from "echarts";
// 过滤器
import * as custom from "./utils/util";
import axios from "axios";


Vue.config.productionTip = false;
//注册vuex
Vue.prototype.$store = store;
//使用 ElementUI
Vue.use(ElementUI);
//引入axios
Vue.prototype.$axios = axios;
//使用echarts
Vue.prototype.$echarts = echarts;

/* eslint-disable no-new */

new Vue({
  el: "#app",
  store,
  router,
  components: { App },
  template: "<App/>"
});
